import request, { Method } from '@/util/request'

export function login(params) {
    return request({
        url: 'customLogin',
        method: Method.POST,
        // headers: {
        //     'Content-Type': 'application/json'
        // },
        data: params
    })
}

export function logout(params) {
    return request({
        url: 'customLogout',
        method: Method.POST
    })
}
